package cn.bdqn.tangcco.user.service.impl;

import cn.bdqn.tangcco.entity.Tbuser;
import cn.bdqn.tangcco.user.dao.UserDao;
import cn.bdqn.tangcco.user.service.UserServices;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.inject.Inject;

/**
 * Created by Administrator on 2016/6/2.
 */
@Service
@Transactional
public class UserServicesImpl implements UserServices {

    @Inject
    private UserDao userDao;

    @Override
    public Tbuser login(Tbuser users) {
        return this.userDao.login(users);
    }
}
